thinkphp5出现500错误怎么办 |
您所在的位置:网站首页 › thinkphp 500 › thinkphp5出现500错误怎么办 |
require(): open_basedir restriction in effect. File(/home/wwwroot/pic/thinkphp/start.php) is not within
the allowed登录后复制 解决方法: 1、我是lnmp1.4 php5.6,php.ini里面的open_basedir 是注释掉的。 2、查找到是fastcgi问题。 3、修改fastcgi的配置文件。 /usr/local/nginx/conf/fastcgi.conffastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";登录后复制修改为 fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/../:/tmp/:/proc/";登录后复制4、重启 service nginx restart。 以上就是thinkphp5出现500错误怎么办的详细内容,更多请关注php中文网其它相关文章! 微信分享声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系[email protected]核实处理。 相关标签:thinkphp5 500 错误上一篇:thinkphp如何导出word下一篇:thinkphp5如何开启错误调试 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |